package org.ahuanlien.crm.service;

import org.ahuanlien.crm.domain.Department;
import org.ahuanlien.crm.query.QueryObject;
import org.ahuanlien.crm.util.PageResult;

import java.util.List;

public interface IDepartmentService {

	List<Department> selectAll();

	PageResult query(QueryObject qo);

	void saveOrUpdate(Department department);

	void deleteByPrimaryKey(Long id);
}
